import Vue from 'vue'
import App from './App.vue'
import Antd from 'ant-design-vue';
import "ant-design-vue/dist/antd.css";
import router from './router'
import store from './store'
import "./assets/css/global.css";
import JsonExcel from "vue-json-excel";
import 'lib-flexible'
import { preventReClick,disableRightClick }from '@/utils/preventReClick'
Vue.prototype.$preventReClick = preventReClick; // 节流函数
Vue.prototype.$disableRightClick = disableRightClick; // 禁用右键菜单
Vue.prototype.$EventBus = new Vue();
Vue.component("downloadExcel", JsonExcel);
Vue.config.productionTip = false
Vue.use(Antd);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
